export default {
	install(app) {
		app.config.globalProperties.$formatCount = function(value){
				if (value >= 10000 && value <= 100000000) {
					value /= 1000;
					return value.toFixed(1) + '万'
				}
				if (value > 100000000) {
					value /= 100000000;
					return value.toFixed(1) + '亿'
				}
				return value;
			}
		
	}
}